<div class="print-reservations">

	<h1><?php echo Yii::t('app','Your Reservations'); ?></h1>

	<?php $this->widget('zii.widgets.CListView',array(
		'dataProvider'=>$dataProvider,
		'template'=>"{items}\n{pager}",
		'itemView'=>'_printView',
	)); ?>

	<div class="controls no-print">

		<?php $this->widget('zii.widgets.jui.CJuiButton', array(
			'name'=>'print-button',
			'buttonType'=>'button',
			'caption'=>Yii::t('app','Print Reservations'),
			'onclick'=>"js:
function() {
	window.print();
}",
		)); ?>

		<?php $this->widget('zii.widgets.jui.CJuiButton', array(
			'name'=>'close-button',
			'buttonType'=>'button',
			'caption'=>Yii::t('app','Close window'),
			'onclick'=>"js:
function() {
	window.close();
}",
		)); ?>

	</div>

</div>